package com.sn.author.filter.content;

import com.sn.author.domain.UserExample;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.lang.NonNull;

/**
 * @Author Jackies
 * @Date 2019/12/8 11:33
 * @Description TODO://
 **/
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public class UserDetail {

    private UserExample user;

    /**
     * Gets user info.
     *
     * @return user info
     */
    @NonNull
    public UserExample getUser() {
        return user;
    }

    /**
     * Sets user info.
     *
     * @param user user info
     */
    public void setUser(UserExample user) {
        this.user = user;
    }

}
